﻿using DLLmySQL;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;


public class NpoiMemoryStream : MemoryStream
{
    public bool AllowClose { get; set; }
    public NpoiMemoryStream()
    {
        AllowClose = true;
    }

    public override void Close()
    {
        if (AllowClose)
        {
            base.Close();
        }
    }
}

